package homeWork.Method_Pra;

import java.util.Scanner;

public class Method7 {
    public static void main(String[] args) {
        int a,b,c;
        double e;
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入三个整数：");
        a = scanner.nextInt();
        b = scanner.nextInt();
        c = scanner.nextInt();
        e = Average(a,b,c);
        System.out.println("这三个整数的平均数是"+e);
    }
    public static double Average(int a,int b,int c){
        int d;
        d = (a+b+c)/3;
        return d;
    }
}
